package com.migo.service.impl;

import com.migo.log.SystemLog;
import com.migo.service.ILogInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by paik on 2017/11/30.
 */
@Service
public class LogInfoServiceImpl implements ILogInfoService {

    @Transactional(value = "tx-shopPU")
    @Override
    public void recordLogInfo(SystemLog log) {
        try {
            System.out.print(log);
        } catch (Exception e) {
        }
    }
}
